[INFO] cloning repository https://github.com/posix4e/rust-style
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/posix4e/rust-style" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fposix4e%2Frust-style", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fposix4e%2Frust-style'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 390b8712ab021effec3c5ea49b9ee5a9b9493e4b
[INFO] testing posix4e/rust-style against try#46592174fb13958bb9a2aa0d7af6c1224e1d7143 for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fposix4e%2Frust-style" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/posix4e/rust-style on toolchain 46592174fb13958bb9a2aa0d7af6c1224e1d7143
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/posix4e/rust-style
[INFO] finished tweaking git repo https://github.com/posix4e/rust-style
[INFO] tweaked toml for git repo https://github.com/posix4e/rust-style written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/posix4e/rust-style already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded docopt v1.1.1
[INFO] [stderr]   Downloaded syntex_errors v0.59.1
[INFO] [stderr]   Downloaded syntex_syntax v0.59.1
[INFO] [stderr]   Downloaded syntex_pos v0.59.1
[INFO] [stderr]   Downloaded extprim v1.7.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] be8e7d81f92ecfdd029d5f2ceb7b255884fe8acff6a968378178560e2bd353e3
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "be8e7d81f92ecfdd029d5f2ceb7b255884fe8acff6a968378178560e2bd353e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be8e7d81f92ecfdd029d5f2ceb7b255884fe8acff6a968378178560e2bd353e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be8e7d81f92ecfdd029d5f2ceb7b255884fe8acff6a968378178560e2bd353e3", kill_on_drop: false }`
[INFO] [stdout] be8e7d81f92ecfdd029d5f2ceb7b255884fe8acff6a968378178560e2bd353e3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 167b421e6bff94f5dc72dff528e3362e799d367f4b78c2c8aaefbb95390862f3
[INFO] running `Command { std: "docker" "start" "-a" "167b421e6bff94f5dc72dff528e3362e799d367f4b78c2c8aaefbb95390862f3", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling term v0.4.6
[INFO] [stderr]    Compiling bitflags v0.9.1
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling diff v0.1.12
[INFO] [stderr]    Compiling typed-arena v2.0.1
[INFO] [stderr]    Compiling extprim v1.7.1
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling regex v1.5.3
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling syntex_pos v0.59.1
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling docopt v1.1.1
[INFO] [stderr]    Compiling syntex_errors v0.59.1
[INFO] [stderr]    Compiling syntex_syntax v0.59.1
[INFO] [stderr]    Compiling rust-style v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `toml::Table`
[INFO] [stdout]  --> src/format_options.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use toml::{self, Value, Table};
[INFO] [stdout]   |                         ^^^^^ no `Table` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `syntax::codemap::mk_sp`
[INFO] [stdout]  --> src/source.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use syntax::codemap::{mk_sp, Span, Pos, BytePos};
[INFO] [stdout]   |                       ^^^^^ no `mk_sp` in `codemap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `syntax::parse::lexer::Reader`
[INFO] [stdout]  --> src/source.rs:4:42
[INFO] [stdout]   |
[INFO] [stdout] 4 | use syntax::parse::lexer::{StringReader, Reader};
[INFO] [stdout]   |                                          ^^^^^^ no `Reader` in `parse::lexer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `syntax::codemap::mk_sp`
[INFO] [stdout]  --> src/token.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use syntax::codemap::{mk_sp, Span, BytePos};
[INFO] [stdout]   |                       ^^^^^ no `mk_sp` in `codemap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `syntax::codemap::mk_sp`
[INFO] [stdout]  --> src/unwrapped_line.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use syntax::codemap::{mk_sp, BytePos};
[INFO] [stdout]   |                       ^^^^^ no `mk_sp` in `codemap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `syntax::codemap::mk_sp`
[INFO] [stdout]  --> src/whitespace_manager.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use syntax::codemap::{mk_sp, Span, BytePos};
[INFO] [stdout]   |                       ^^^^^ no `mk_sp` in `codemap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Parser` in `toml`
[INFO] [stdout]   --> src/format_options.rs:70:32
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let mut parser = toml::Parser::new(toml_text);
[INFO] [stdout]    |                                ^^^^^^ not found in `toml`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use rustc_serialize::json::Parser;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use syntax::parse::parser::Parser;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encode_str` in crate `toml`
[INFO] [stdout]   --> src/format_options.rs:98:15
[INFO] [stdout]    |
[INFO] [stdout] 98 |         toml::encode_str(self)
[INFO] [stdout]    |               ^^^^^^^^^^ not found in `toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ParserError` in crate `toml`
[INFO] [stdout]    --> src/format_options.rs:160:26
[INFO] [stdout]     |
[INFO] [stdout] 160 |     ParseError(Vec<toml::ParserError>),
[INFO] [stdout]     |                          ^^^^^^^^^^^ not found in `toml`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 1   | use rustc_serialize::json::ParserError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `new_parse_sess` in module `syntax::parse`
[INFO] [stdout]   --> src/source.rs:20:37
[INFO] [stdout]    |
[INFO] [stdout] 20 |             session: syntax::parse::new_parse_sess(),
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^ not found in `syntax::parse`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `string_to_filemap` in module `syntax::parse`
[INFO] [stdout]    --> src/source.rs:46:38
[INFO] [stdout]     |
[INFO] [stdout] 46  |           let filemap = syntax::parse::string_to_filemap(&self.session, self.src.to_string(), name);
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `file_to_filemap`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syntex_syntax-0.59.1/src/parse/mod.rs:202:1
[INFO] [stdout]     |
[INFO] [stdout] 202 | / fn file_to_filemap(sess: &ParseSess, path: &Path, spanopt: Option<Span>)
[INFO] [stdout] 203 | |                    -> Rc<FileMap> {
[INFO] [stdout]     | |_________________________________- similarly named function `file_to_filemap` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `keywords` is private
[INFO] [stdout]   --> src/annotate.rs:2:27
[INFO] [stdout]    |
[INFO] [stdout] 2  | use syntax::parse::token::keywords::Keyword;
[INFO] [stdout]    |                           ^^^^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `keywords` is defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syntex_syntax-0.59.1/src/parse/token.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use symbol::keywords;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `keywords` is private
[INFO] [stdout]   --> src/continuation_indenter.rs:4:27
[INFO] [stdout]    |
[INFO] [stdout] 4  | use syntax::parse::token::keywords::Keyword;
[INFO] [stdout]    |                           ^^^^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `keywords` is defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syntex_syntax-0.59.1/src/parse/token.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use symbol::keywords;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `keywords` is private
[INFO] [stdout]   --> src/token.rs:3:27
[INFO] [stdout]    |
[INFO] [stdout] 3  | use syntax::parse::token::keywords::Keyword;
[INFO] [stdout]    |                           ^^^^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `keywords` is defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syntex_syntax-0.59.1/src/parse/token.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use symbol::keywords;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `keywords` is private
[INFO] [stdout]   --> src/unwrapped_line.rs:3:27
[INFO] [stdout]    |
[INFO] [stdout] 3  | use syntax::parse::token::keywords::Keyword;
[INFO] [stdout]    |                           ^^^^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `keywords` is defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syntex_syntax-0.59.1/src/parse/token.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use symbol::keywords;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/annotate.rs:208:25
[INFO] [stdout]     |
[INFO] [stdout] 208 |                         try!(this.consume_token());
[INFO] [stdout]     |                         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/annotate.rs:236:25
[INFO] [stdout]     |
[INFO] [stdout] 236 |                         try!(this.consume_token());
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/annotate.rs:259:25
[INFO] [stdout]     |
[INFO] [stdout] 259 |                         try!(this.consume_token());
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/annotate.rs:282:25
[INFO] [stdout]     |
[INFO] [stdout] 282 |                         try!(this.consume_token());
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/format_options.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Clone, Eq, PartialEq, Debug, RustcEncodable)]
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/format_options.rs:61:25
[INFO] [stdout]    |
[INFO] [stdout] 61 |                   $field: try!(process_field($default.$field, stringify!($field), &mut $result)),
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |           let style = process_fields!(default_style, parser_result, {
[INFO] [stdout]    |  _____________________-
[INFO] [stdout] 77 | |             bin_pack_arguments,
[INFO] [stdout] 78 | |             bin_pack_parameters,
[INFO] [stdout] 79 | |             bin_pack_patterns,
[INFO] [stdout] ...  |
[INFO] [stdout] 86 | |             penalty_excess_character
[INFO] [stdout] 87 | |         });
[INFO] [stdout]    | |__________- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]  --> src/replacement.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Clone, Debug, RustcEncodable)]
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BinOp`
[INFO] [stdout]  --> src/token.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | use syntax::parse::token::{Token, BinOp, BinOpToken};
[INFO] [stdout]   |                                   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time
[INFO] [stdout]    --> src/format_options.rs:110:48
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn from_value(key: &str, value: &Value) -> Result<Self, StyleParseError>;
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout] help: consider further restricting `Self`
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn from_value(key: &str, value: &Value) -> Result<Self, StyleParseError> where Self: Sized;
[INFO] [stdout]     |                                                                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 previous errors; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-style`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "167b421e6bff94f5dc72dff528e3362e799d367f4b78c2c8aaefbb95390862f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "167b421e6bff94f5dc72dff528e3362e799d367f4b78c2c8aaefbb95390862f3", kill_on_drop: false }`
[INFO] [stdout] 167b421e6bff94f5dc72dff528e3362e799d367f4b78c2c8aaefbb95390862f3
